import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入axios插件
import axios from 'axios'
Vue.prototype.$http = axios
axios.defaults.baseURL = 'http://ayong6.free.idcfengye.com';
//  axios.defaults.baseURL = 'http://127.0.0.1:7001';
//按需引入antd
// import './plugins/ant-design.js'
import '@/assets/style/pages/comm.css'
import '@/assets/style/pages/index.css'
//导入markdown
import mavonEditor from 'mavon-editor'
// import 'mavon-editor/dist/css/index.css'
Vue.use(mavonEditor)
// 图片懒加载
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
